package cn.hxth.api.service;

import cn.hxth.api.model.OutstockRecord;
import cn.hxth.api.query.OutstockRecordQueryObject;
import cn.hxth.api.query.PageResult;
import cn.hxth.api.query.QueryObject;

import java.util.List;

/** 出库操作服务层
 * @author xia
 */
public interface IOutstockRecordService {
    /**
     *
     * @param outstockRecordList:批量添加出库记录
     * @return
     */
    public  boolean insertOutstockRecord(List<OutstockRecord> outstockRecordList) ;
    public  OutstockRecord getOutstockRecord(long nio) ;
    public PageResult findAll(OutstockRecordQueryObject outstockRecordQueryObject) ;

    /** 获取出库汇总信息，按商品规格分组
     * @author xia
     * @param queryObject
     * @return
     */
    public  PageResult findAggrInfo(QueryObject queryObject) ;

}
